
import numpy as np
Nx = 6
Ny = 11
Lx = Ly = 1
x = np.linspace(0, Lx, Nx)
dx = x[-1] - x[-2]
y = np.linspace(0, Ly, Ny)
dy = y[-1] - y[-2]
xx, yy = np.meshgrid(x, y)  #matrix 矩阵
print(dx)
print(xx)
print(yy)